package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author dingpf
 * @version 1.0
 * @description
 * @create 2025/4/25 11:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingCart {
    private Integer id;
    private Integer buyNum;
    private BigDecimal buyPrice; //单价
    private BigDecimal totalPrice; //总价格
    private Integer userId;
    private String createTime;
    private Integer bookId;
    private Integer status; //已下单 未下单

    private String imgSrc;
    private String name;
    private Integer storeCount;// 库存
    private BigDecimal price; //最新价格

}
